package cn.raven.order.service;

import cn.raven.order.domain.OrderProduct;
import cn.raven.basic.service.IBaseService;
import cn.raven.order.dto.OrderConfirmationDto;
import cn.raven.order.dto.OrderDto;
import cn.raven.pet.domain.SearchMasterMsg;
import cn.raven.serve.domain.Product;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Raven
 * @since 2022-07-21
 */
public interface IOrderProductService extends IBaseService<OrderProduct> {

    void buy(Product product, HttpServletRequest request);

    void accept(OrderDto dto, HttpServletRequest request);

    void confirm(OrderConfirmationDto dto);

    void cancel(Long id);
}
